BigCommerce\Cart\Add_To_Cart S

Total Complexity 30
Dependencies 5
Dependents 1
Total lines 170
Lines of code 115
Logical lines of code 69
Comment lines 36
Methods 6
Properties 0

Methods 6

Method Rating Maintainability Complexity Lines of code
handle_request()
A
47 9 32
get_variant_id()
S
53 7 22
sanitize_option()
S
59 5 14
handle_exception()
S
53 4 22
validate_request()
S
61 4 13
handle_response()
S
61 1 12